package com.stm.bi.dto.query;

import com.stm.bi.model.ChartQuery;
import com.stm.framework.annotation.ReqParam;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author chenyingjun
 * @Desc
 * @Date 2025/2/11 9:56
 */
public class DemoChartQuery extends ChartQuery {
    @ReqParam(label = "部门ID",required = true)
    private Long deptId;

    @ReqParam(label = "年份",required = true)
    private String year;

    @ReqParam(label = "面料分类Code集合")
    private List<String> materialCategoryCodes = new ArrayList<>();

    @ReqParam(label = "面料编码")
    private String materialCode;

    public Long getDeptId() {
        return deptId;
    }

    public DemoChartQuery setDeptId(Long deptId) {
        this.deptId = deptId;
        return this;
    }

    public String getYear() {
        return year;
    }

    public DemoChartQuery setYear(String year) {
        this.year = year;
        return this;
    }

    public List<String> getMaterialCategoryCodes() {
        return materialCategoryCodes;
    }

    public DemoChartQuery setMaterialCategoryCodes(List<String> materialCategoryCodes) {
        this.materialCategoryCodes = materialCategoryCodes;
        return this;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public DemoChartQuery setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
        return this;
    }
}
